﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LYT.Biz
{
    /// <summary>
    /// API方法名
    /// </summary>
    public class ConstTaobaoMethod
    {
        public const string SERVER_URL = "https://gw.api.tbsandbox.com/router/rest";

        #region 销售中的商品
        public const string ITEMS_ONSALE = "taobao.items.onsale.get";
        public const string ITEMS_ONSALE_FIELDS = "num_iid,title,price";
        #endregion


    }

    public class ConstData
    {
        public const string ConnectionString = "metadata=res://*/Data.csdl|res://*/Data.ssdl|res://*/Data.msl;provider=System.Data.SQLite;provider connection string=';data source=D:\\itaoshang\\trunk\\source\\Apps\\LYT\\App_Data\\data;password=lyt';";
    }

    public class ConstParam
    {
        #region Key
        public const string PARAM_KEY_CLIENTID = "client_id";

        public const string PARAM_KEY_METHOD = "method";

        public const string PARAM_KEY_VERSION = "v";

        public const string PARAM_KEY_FORMAT = "format";

        public const string PARAM_KEY_TOKEN = "access_token";

        public const string PARAM_KEY_FIELDS = "fields";
        #endregion

        #region Value

        public const string PARAM_VALUE_CLIENTID = "1021236413";

        public const string PARAM_VALUE_VERSION = "2.0";

        public const string PARAM_VALUE_FORMAT = "json";

        #endregion

    }




}
